<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('配置详情')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-menu-edit" th:object="${menu}">
        <!--<input id="url" name="url" type="hidden" th:field="*{url}"/>-->
        <div class="form-group">
            <label class="col-sm-3 control-label">地址：</label>
            <div class="col-sm-8">
                <input name="url" class="form-control" readonly="readonly" type="text" th:field="*{url}">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">配置名称：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="name" readonly="readonly"  th:field="*{name}" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">创建时间：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="createTime" readonly="readonly"  th:field="*{createTime}" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">更新时间：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="updateTime" readonly="readonly"  th:field="*{updateTime}" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">配置内容：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="text" readonly="readonly"  th:field="*{text}" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">备注信息：</label>
            <div class="col-sm-8">
                <textarea rows="6" name="remark" readonly="readonly" th:text="*{remark}" class="form-control"></textarea>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer"/>
<script>
    $("#form-menu-edit").validate({
        onkeyup: false,
        rules: {
        },
        messages: {
        },
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(ctx + "config/center/node/modify", $('#form-menu-edit').serialize());
        }
    }

</script>
</body>
</html>
